from sqlalchemy import Boolean, Column, Integer, String, DateTime 
from app.db.database import DBase
from datetime import date

class CheckSheet_DB(DBase):
    __tablename__ = "CheckSheet"

    id = Column(String(36), primary_key=True, index=True)
    companyName = Column(String(50))
    checkDate = Column(DateTime)
    inspector = Column(String(20))
    hazards = Column(String(100))
    created_time = Column(DateTime, default=date.today())